Component({
  properties: {
    task: {
      type: Object,
      value: {}
    }
  },

  methods: {
    onTaskTap() {
      this.triggerEvent('tap', {
        taskId: this.properties.task._id
      });
    }
  }
});